package com.qf.framwork.page;

/**
 * description:
 * author: Ken
 * 公众号：Java架构栈
 */
public class PageThreadLocal {

    public static ThreadLocal<Page> threadLocal = new ThreadLocal<>();

    public static void setPage(Page page){
        threadLocal.set(page);
    }

    public static Page getPage(){
        return threadLocal.get();
    }

    public static void remove(){
        threadLocal.remove();
    }
}
